package edu.spex.yjl.week08.home.unit3;

public class Rectangle {
    private double length;
    private double width;

    public Rectangle(double length , double width){
        this.length=length;
        this.width=width;
    }
    public double calculateArea(){
        return this.length * this.width;
    }
    public static void main(String[] args){

        edu.spex.yjl.week04.Rectangle rectangle=new edu.spex.yjl.week04.Rectangle(10,9);
        System.out.println(rectangle.calculateArea());
    }
}